package com.panopset.game.blackjack;

public enum ScreenSizer {

    SMALL(1), MEDIUM(2), LARGE(3), SUPER(4), CINEMA(5);

    private final int m;

    private ScreenSizer(final int mult) {
        m = mult;
    }

    public int getMultiplier() {
        return m;
    }

    public int getFontSize() {
        switch (getMultiplier()) {
        case 1:
            return 12;
        case 2:
            return 16;
        case 3:
            return 18;
        case 4:
            return 20;
        case 5:
            return 24;
        default:
            return 18;
        }
    }

    public int getVerticalTextSeparator() {
        return Float.valueOf(getFontSize() * 1.2f).intValue();
    }
}
